package resources;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import org.apache.log4j.Logger;

/*
* Risorsa REST per verificare che tomcat sia online
*/

@Path("/")
public class RootResource {
		
		static Logger logger = Logger.getLogger(RootResource.class);		
		
	    @GET
	    @Produces("text/plain")
		 public String getWelcomeMessage() {
	    	 return "Il servizio di gestione Multe e' attivo";
		 }
}